package com.nerve.cloudoffice.service;

import java.util.List;

import com.nerve.cloudoffice.domain.Department;
import com.nerve.cloudoffice.domain.bean.DepartmentTask;

/**
 * @project cloudOffice DepartmentService.java
 * @datetime Jul 30, 2013 4:09:45 AM
 * @description 
 * 	   
 * @author 集成显卡 IBM 
 *			zxingming@qq.com
 *			zengxm@cn.ibm.com
 *
 * @change log:
 *
 */
public interface DepartmentService {
	
	public List<Department> listAll();
	
	public int save(Department department) throws Exception;
	
	public int delete(int id) throws Exception;
	
	public List<DepartmentTask> countTask() throws Exception;
}